package com.example;

import java.util.Objects;

public class User {
    static int index = 1;
    String name;
    int age;

    public User(String name, int age) {
        this.name = name;
        this.age = age;
    }

    @Override
    public boolean equals(Object o) {
        return true;
    }

    @Override
    public int hashCode() {
        return index ++;
    }
}
